﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;
using LogisticsBLL;

namespace WebLosgic.HeanderAJAX
{
    /// <summary>
    /// CostMangerHandler 的摘要说明
    /// </summary>
    public class CostMangerHandler : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            //float Youcost = Convert.ToSingle(context.Request.Form["youf"]);
            //float Guoqiao = Convert.ToSingle(context.Request.Form["guo"]);
            //float fakuan = Convert.ToSingle(context.Request.Form["fakua"]);
            //float OhterCost =Convert.ToSingle(context.Request.Form["other"]);
            //int SchID =Convert.ToInt32(context.Request.Form["SchID"]);
            //CostBLL cb = new CostBLL();
            //int result = cb.Cost(SchID, Youcost, Guoqiao, fakuan, OhterCost,SchID);
            //if (result > 0)
            //{
            //    context.Response.Write("结算成功");
            //}
            //context.Response.ContentType = "text/plain";
            
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}